package com.factory.test.bean;


import com.factory.test.base.BaseActivity;

public class ActivityItem implements java.io.Serializable{
    private String menuMenu;    //菜单名
    private String className;   //activity转跳路径
    private int testResult;     //0=未测试, 1=成功, 2=失败, 3=暂时不支持


    public ActivityItem() {
    }

    public ActivityItem(String menuMenu, Class<? extends BaseActivity> baseActivityClass) {
        this.menuMenu = menuMenu;
        if(baseActivityClass != null) {
            this.className = baseActivityClass.getName();
        }
    }

    public String getMenuMenu() {
        return menuMenu;
    }

    public void setMenuMenu(String menuMenu) {
        this.menuMenu = menuMenu;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getTestResult() {
        return testResult;
    }

    public void setTestResult(int testResult) {
        this.testResult = testResult;
    }

    @Override
    public String toString() {
        return "ActivityItem{" +
                "menuMenu='" + menuMenu + '\'' +
                ", className='" + className + '\'' +
                ", testResult=" + testResult +
                '}';
    }
}
